package org.jeecg.modules.nurse_nurses.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.UnsupportedEncodingException;

/**
 * @Description: 护工证书
 * @Author: jeecg-boot
 * @Date: 2024-06-04
 * @Version: V1.0
 */
@Data
@TableName("nurse_nurses_certificate")
@ApiModel(value = "nurse_nurses_certificate对象", description = "护工证书")
public class NurseNursesCertificate implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 证书编码
     */
    @Excel(name = "证书编码", width = 15)
    @ApiModelProperty(value = "证书编码")
    private String code;
    /**
     * 证书名称
     */
    @Excel(name = "证书名称", width = 15)
    @ApiModelProperty(value = "证书名称")
    private String name;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 证书说明
     */
    @Excel(name = "证书说明", width = 15)
    @ApiModelProperty(value = "证书说明")
    private String description;
    /**
     * 证书图片
     */
    @Excel(name = "证书图片", width = 15)
    @ApiModelProperty(value = "证书图片")
    private String pic;
    /**
     * 护工ID
     */
    @ApiModelProperty(value = "护工ID")
    private String nursesId;
}
